{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_basic_seo:admin}</h3>
		<ul class="submenus">
             <li {if $type=='home'}class="active"{/if}><a href="{url admin/basicseo?type=home}">{lang site_home:admin}</a></li>
             <li {if $type=='category'}class="active"{/if}><a href="{url admin/basicseo?type=category}">{lang site_category:admin}</a></li>
             <li {if $type=='store'}class="active"{/if}><a href="{url admin/basicseo?type=store}">{lang site_store:admin}</a></li>
             <li {if $type=='star'}class="active"{/if}><a href="{url admin/basicseo?type=star}">{lang site_star:admin}</a></li>
             <li {if $type=='album'}class="active"{/if}><a href="{url admin/basicseo?type=album}">{lang site_album:admin}</a></li>
             <li {if $type=='group'}class="active"{/if}><a href="{url admin/basicseo?type=group}">{lang site_group:admin}</a></li>
             <li {if $type=='topic'}class="active"{/if}><a href="{url admin/basicseo?type=topic}">{lang site_topic:admin}</a></li>
        </ul>
	</div>
	<div class="setform">
		<form class="pzform" action="{url admin/basicseo?act=save&type=$type}" method="post">
			<input type="hidden" id="seo_type" name="seo_type"/>
			<div class="formgroup">
				<label class="formlabel">{lang seo_title:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="seo_title" name="seo_title" value="$setting['seo_title']"/>
				</div>
				<span class="formhelp">{lang seo_title:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang seo_keyword:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="seo_keyword" name="seo_keyword" value="$setting['seo_keyword']"/>
				</div>
				<span class="formhelp">{lang seo_keyword:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang seo_description:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="seo_description" name="seo_description" value="$setting['seo_description']"/>
				</div>
				<span class="formhelp">{lang seo_description:admin}</span>
			</div>

			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}